From e7f49e6becdb2f5081fc563af8b8a0b646a4b702 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 6 Jul 2011 16:32:16 +0100 Subject: [PATCH] libxl: testenum.c depends on libxl.h testenum.c may fail to compile if libxl.h dependencies are not yet met. In file included from testenum.c:3: libxl.h:199:26: error: _libxl_types.h: No such file or directory In file included from testenum.c:3: libxl.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token .... Signed-off-by: Olaf Hering Acked-by: Ian Campbell Committed-by: Ian Jackson --- tools/libxl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index fc8ddca0e6..0c9162f919 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -52,7 +52,7 @@ $(XL_OBJS): CFLAGS += $(CFLAGS_libxenctrl) # For xentoollog.h $(XL_OBJS): CFLAGS += $(CFLAGS_libxenlight) testenum.o: CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenlight) -testenum.c: libxl.idl gentest.py +testenum.c: libxl.idl gentest.py libxl.h $(PYTHON) gentest.py libxl.idl testenum.c.new mv testenum.c.new testenum.c -- 2.30.2